class ParameterNullErr(Exception):
    code = -501
    msg = "参数为空"


class ParameterTypeErr(Exception):
    code = -502
    msg = "参数类型错误"


class UserPackageAlreadyLockErr(Exception):
    code = -511
    msg = "赏品已在保险袋中"


class UserPackageAlreadyRefinedErr(Exception):
    code = -512
    msg = "赏品已提炼"


class UserPackageAlreadyDeliveryErr(Exception):
    code = -513
    msg = "赏品已发货"


class UserPackageAlreadyUnhandledErr(Exception):
    code = -514
    msg = "赏品未在保险袋中"


class UserPackageCountNotEqualErr(Exception):
    code = -521
    msg = "赏品不存在"


class UserPackageGoodsNullErr(Exception):
    code = -522
    msg = "赏品为空"


class UserExpressCountNotEqualErr(Exception):
    code = -523
    msg = "用户地址不存在"
